package com.tx.admin.noveldictdetail.pojo.po;

import com.mybatisflex.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.io.Serial;
import com.tx.mysql.EntityChangeListener;
import java.time.LocalDateTime;

/**
* <p>
* 字典详情
* </p>
*
* @author sz-admin
* @since 2025-05-06
*/
@Data
@Table(value = "novel_dict_detail", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "字典详情")
public class NovelDictDetail implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @Schema(description ="主键")
    private Long id;

    @Schema(description ="关联字典主表ID")
    private Long dictId;

    @Schema(description ="数据库存储数值")
    private Integer numKey;

    @Schema(description ="中文名称")
    private String name;

    @Schema(description ="对应数值")
    private String value;

    @Schema(description ="")
    private LocalDateTime createTime;

    @Schema(description ="")
    private LocalDateTime updateTime;

}